import React, {useEffect} from 'react';
import {OdoTypeSelectProps} from "../../../init";
import {Form, Input} from "antd";
import {OutboundDeliveryOrder} from "type/OutboundDeliveryOrder";

const OtherOdoSelect = ({form}: OdoTypeSelectProps) => {
    useEffect(() => {
        form.setFieldValue("odoFlow","") ;
    }, []);
    return (
        <Form.Item<OutboundDeliveryOrder> label={"其他出库说明"} name={"odoFlow"} required>
            <Input placeholder={"请输入其他出库原因说明"}/>
        </Form.Item>
    );
};

export default OtherOdoSelect;